package com.umeox.watch.moto.dataservice.db.model;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

/**
 * Created by Rambo 2021/9/18
 * Describe:
 */
@Entity(tableName = HolderInfo.TABLE_NAME)
public class HolderInfo {

    @Ignore
    public static final String TABLE_NAME = "holder_info";

    @NonNull
    @PrimaryKey
    private String holderId;

    private String deviceId;

    private String name;

    private String avatar;

    private int gender;

    private int height;

    private double weight;

    private String birthday;

    private int stepPlanValue;

    private int sportsChallengeRewardsValue;

    private int quranLearnTotalRewardValue;

    private int chantsCounterTotal;
    private int chantsCounterChallengeTotal;

    public int getQuranLearnTotalRewardValue() {
        return quranLearnTotalRewardValue;
    }

    public void setQuranLearnTotalRewardValue(int quranLearnTotalRewardValue) {
        this.quranLearnTotalRewardValue = quranLearnTotalRewardValue;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getHolderId() {
        return holderId;
    }

    public void setHolderId(String holderId) {
        this.holderId = holderId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getStepPlanValue() {
        return stepPlanValue;
    }

    public void setStepPlanValue(int stepPlanValue) {
        this.stepPlanValue = stepPlanValue;
    }

    public int getSportsChallengeRewardsValue() {
        return sportsChallengeRewardsValue;
    }

    public void setSportsChallengeRewardsValue(int sportsChallengeRewardsValue) {
        this.sportsChallengeRewardsValue = sportsChallengeRewardsValue;
    }

    public int getChantsCounterTotal() {
        return chantsCounterTotal;
    }

    public void setChantsCounterTotal(int chantsCounterTotal) {
        this.chantsCounterTotal = chantsCounterTotal;
    }

    public int getChantsCounterChallengeTotal() {
        return chantsCounterChallengeTotal;
    }

    public void setChantsCounterChallengeTotal(int chantsCounterChallengeTotal) {
        this.chantsCounterChallengeTotal = chantsCounterChallengeTotal;
    }

    @Override
    public String toString() {
        return "HolderInfo{" +
                "holderId='" + holderId + '\'' +
                ", deviceId='" + deviceId + '\'' +
                ", name='" + name + '\'' +
                ", avatar='" + avatar + '\'' +
                ", gender=" + gender +
                ", height=" + height +
                ", weight=" + weight +
                ", birthday='" + birthday + '\'' +
                ", stepPlanValue=" + stepPlanValue +
                ", sportsChallengeRewardsValue=" + sportsChallengeRewardsValue +
                ", quranLearnTotalRewardValue=" + quranLearnTotalRewardValue +
                ", chantsCounterTotal=" + chantsCounterTotal +
                ", chantsCounterChallengeTotal=" + chantsCounterChallengeTotal +
                '}';
    }
}
